package com.qsmx.store.app.main.display.adapter;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import com.qsmx.store.app.R;
import com.qsmx.store.app.main.display.holder.GoodsPayHolder;

public class GoodsPayAdapter extends RecyclerView.Adapter<GoodsPayHolder> {

    private Context mContext;

    public GoodsPayAdapter(Context mContext) {
        this.mContext = mContext;
    }

    @NonNull
    @Override
    public GoodsPayHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {
        return new GoodsPayHolder(LayoutInflater.from(mContext).inflate(R.layout.adapter_goods_sale_list, viewGroup, false));
    }

    @Override
    public void onBindViewHolder(@NonNull GoodsPayHolder goodsPayHolder, int i) {

    }

    @Override
    public int getItemCount() {
        return 10;
    }
}
